const state = {
  theme: {},
}

const mutations = {
  DATA_SETTING: (state, { key, value }) => {
    state.theme = value
  },
}

const actions = {
  changeSetting({ commit }, data) {
    commit('DATA_SETTING', data)
  },
}

export default {
  namespaced: true,
  state,
  mutations,
  actions,
}
